package com.example.mapper;

import com.example.entity.VideoRecord;

import java.util.List;

public interface VideoRecordMapper {

    /*
     * 新增
     * */
    int insert(VideoRecord videoRecord);

    /*
     * 删除
     * */
    void deleteById(Integer id);

    /*
     * 修改
     * */
    int updateById(VideoRecord videoRecord);

    /*
     * 根据ID查询
     * */
    VideoRecord selectById(Integer id);

    /*
     * 查询所有
     * */
    List<VideoRecord> selectAll(VideoRecord videoRecord);

    void deleteAll();
}
